Skip to content

Conversation

@evallesp
Copy link
Contributor

@evallesp evallesp commented Oct 3, 2025

It seems these scenarios has master nodes and a single worker node which is tainted. This worker node is used for running tempest but nothing related with OCP.

Problematic scenarios are those which has a worker node tainted for tempest, but the workload is set in master nodes.

There's no reason to configure NNCP in master nodes when we have regular worker nodes, so we were assuming that in case of there's a worker node, then all NNCP goes to worker node, which is problematic when single worker node is tainted.

So we need to enhance the templates to:

  • Check if there's a worker node, if so, check if those are tainted.
  • If not tainted, worker takes preference.
  • If tainted, master takes preference.
  • If there's no worker node, then we go with master nodes.
  • Same for SNO CRC scenarios.

@evallesp evallesp requested a review from a team as a code owner October 3, 2025 12:49
@evallesp evallesp force-pushed the fix-nncp-uni02beta-uni04delta-ipv6 branch from afa0f89 to 46add10 Compare October 3, 2025 12:54
It seems these scenarios has master nodes and a single worker node which is tainted.
This worker node is used for running tempest but nothing related with OCP.

Problematic scenarios are those which has a worker node tainted for tempest, but the workload
is set in master nodes.

There's no reason to configure NNCP in master nodes when we have regular worker nodes, so we
were assuming that in case of there's a worker node, then all NNCP goes to worker node, which is
problematic when single worker node is tainted.

So we need to enhance the templates to:
* Check if there's a worker node, if so, check if those are tainted.
* If not tainted, worker takes preference.
* If tainted, master takes preference.
* If there's no worker node, then we go with master nodes.
* Same for SNO CRC scenarios.

Adding also uni02beta that takes the template from common
@evallesp evallesp force-pushed the fix-nncp-uni02beta-uni04delta-ipv6 branch from 46add10 to e990cff Compare October 6, 2025 11:33
Copy link
Contributor

@sdatko sdatko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

@openshift-ci openshift-ci bot added the lgtm label Oct 8, 2025
@sdatko sdatko enabled auto-merge (rebase) October 8, 2025 13:46
Copy link
Contributor

@arxcruz arxcruz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

@sdatko sdatko merged commit 25fa1a8 into openstack-k8s-operators:main Oct 8, 2025
5 checks passed
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 8, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: arxcruz, sdatko

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants